package com.yantong.mapper;

import com.yantong.pojo.Address;

import java.util.List;
import java.util.Map;

public interface AddressMapper {

    int insertSelective(Address record);

    List<Address> queryList(Map map);

    int queryTotal(Map map);

    Address selectByPrimaryKey(Long id);

    void deleteByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Address record);

    Address getMemDefaultAddress(Long mid);

    void updateDefault(Address record);

    Address getLateLyAddress(Map map);
}